package com.jxs.easysecurity.session;

import com.jxs.easysecurity.auth.Authentication;
import com.jxs.easysecurity.exception.SecurityException;

/**
 * 处理用户的登陆逻辑。
 * @author jiangxingshang
 * @since 17/6/20
 */
public interface LoginHandler {

    LoginResult login(Authentication authentication) throws SecurityException;
}
